import Layout from '@/layout'
export default {
  path: '/system',
  component: Layout,
  meta: { title: '系统设置', icon: 'table' },
  children: [
    {
      path: 'management',
      name: 'management',
      component: () => import('@/views/system/management'),
      meta: { title: '菜单管理', icon: 'link' }
    },
    {
      path: 'role',
      name: 'role',
      component: () => import('@/views/system/role.vue'),
      meta: { title: '角色管理', icon: 'tree' }
    },
    {
      path: 'user',
      name: 'user',
      component: () => import('@/views/system/user.vue'),
      meta: { title: '用户管理', icon: 'nested' }
    },
    {
      path: 'sysloyout',
      name: 'sysloyout',
      component: () => import('@/views/system/SystemLayout.vue'),
      meta: { title: '系统配置', icon: 'password' }
    }
  ]
}

// {
//   path: '/approvals',
//   component: Layout,
//   children: [
//     {
//       path: 'index',
//       name: 'approvals',
//       component: () => import('@/views/approvals/index'),
//       meta: { title: '审批', icon: 'tree-table' }
//     }
//   ]
// }
